You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
tl;dr I'm attempting to use Palanteer to add instrumentation to one of our scripting engines - unfortunately, plBeginDyn and plEndDyn have huge overhead, and the hotspot is in the string memory pooling.
Technically, though, all of the strings we're passing are all static (as in their memory won't be freed until we're done with Palanteer), it's just that plBegin/plEnd don't accept such strings since it requires hashes to be computed at compile time for some reason.
Is there any way to just compute the hashes at run time, which would be infinitely faster than dynamically allocating strings?
The text was updated successfully, but these errors were encountered:
tl;dr I'm attempting to use Palanteer to add instrumentation to one of our scripting engines - unfortunately,
plBeginDyn
andplEndDyn
have huge overhead, and the hotspot is in the string memory pooling.Technically, though, all of the strings we're passing are all static (as in their memory won't be freed until we're done with Palanteer), it's just that plBegin/plEnd don't accept such strings since it requires hashes to be computed at compile time for some reason.
Is there any way to just compute the hashes at run time, which would be infinitely faster than dynamically allocating strings?
The text was updated successfully, but these errors were encountered: