Posts: 579
Threads: 5
Joined: Oct 2015
Is there a version without pawn-memory plugin? I'd be glad to use it. Not that I am against pawn-memory, it's just I don't want to use an entire plugin just for a specific include.
Would be a good idea to make an option whether to use the plugin or not.
Posts: 1,773
Threads: 47
Joined: Jan 2015
Reputation:
0
Do you know how much time will it take if you don't use dynamic memory?
And the output amx will be like 50MB just from this one include because of usage of 3D arrays.
If you guys still want it, then i can do it, its a work of seconds.
Posts: 579
Threads: 5
Joined: Oct 2015
Quote:
Originally Posted by Gammix
Do you know how much time will it take if you don't use dynamic memory?
And the output amx will be like 50MB just from this one include because of usage of 3D arrays.
If you guys still want it, then i can do it, its a work of seconds.
|
Oh, I have had an older version of this (namely: v3.0.1) which used to add about ~1MB only that's why I thought it is not necessary to use pawn-memory, however in that case I don't think it'll be much of a use without, I'll see whether the plugin is stable enough for a production server and if so I'll use it.
Posts: 1,773
Threads: 47
Joined: Jan 2015
Reputation:
0
Oh well there are so many other ways, like using SVars or PVars.
Making a temporary database with SQLite or File Writing.
Or the fastest way which is pawn-memory plugin.
And what's the problem in using pawn-memory plugin?
Posts: 1,042
Threads: 46
Joined: Jun 2013
Hello! Can you make this library not dependent on the plugin?
Posts: 1,042
Threads: 46
Joined: Jun 2013
Quote:
Originally Posted by Gammix
No, what's wrong in using the plugin?
There's no memory hacking involved so you don't have to update it every time samp is updated.
|
Why use a plugin if you can do without it?
Posts: 1,042
Threads: 46
Joined: Jun 2013
Quote:
Originally Posted by Gammix
Because pre-allocated memory makes the compile time worse and amx size is affected by like 50MB for just 350 max listitems. But this plugin lets you allocate memory dynamically during runtime.
|
It would be possible to make a switch so that the person who will use it, was able to refuse the dependence with the plugin.
Posts: 1,773
Threads: 47
Joined: Jan 2015
Reputation:
0
I don't have time to convert everything back to script variables. If you/someone else makes a plugin-free version, i'll put the link in thread with credits.
I don't understand why you don't want to use a plugin.