Can anyone make an anti-lag of this script for me?

I am using the drop script (https://www.rpgmakercentral.com/topic/4179-map-drops/), and it seems like when I put many items in a map, it lags awfully. Can anyone make an anti-lag for this script? Thanks!
How many do you mean by "many"?
I know that there is a script maned Effectus (not for free) that can solve a lot of lag problems.
You can ask Source for that and see if it fits your needs.
http://rpgmakersource.com/ourproducts/effectus/

As for a free solution, well... you should try not overdoing it, along with avoiding heavy parallel processes.
about 20...

I did not use any parallel processes in that testing map...
the question is what the placed objects are - they most likely are dynamic events, and then it depends on how those events work.

twenty decorative events should not cause problems unless your computer is really old.
twenty parallel processes can do a lot of lag...
Well, they're items dropped using the script. They serve as decorations. They're not parallel processes...
@Waveclaw since they are created by the script, you can't know wether they are parallel processes or not.
It doesn't matter what you're using them for, it matters how they have been programmed.

And that is a question no one but @Tsukihime can answer.

And the script assigns them a decay time, so they can't be the same as passive events - have you tried if the lag goes away if you set a decay and the number of dropped items is reduced again?

and how exactly are you using them, because from the description the script was not intended for purely decorative purposes...
oh... okay! Thanks!
And that is a question no one but @Tsukihime can answer.
Able coders can read anyone's code be it written the right way or not.

In this case, it's no surprise that these drops slow down the game, they are constantly being redrawn. That's unnecessary, of course, so here is a little patch to fix it:
Spoiler
Code:
class Sprite_Character < Sprite_Base

  alias set_drop_bmp7726 initialize
  def initialize(view, char = nil)
    set_drop_bmp7726(view,char)
    set_drop_item_bitmap if char.is_a?(Game_DropEvent)
  end
 
  def update_bitmap
    th_map_drop_update_char_bitmap unless @character.is_a?(Game_DropEvent)
  end
 
end
Put it right below the Map Drops script.
Wow, thanks! It totally works!

Original thread: https://forums.rpgmakerweb.com/threads/can-anyone-make-an-anti-lag-of-this-script-for-me.96156/