flatstr icon indicating copy to clipboard operation
flatstr copied to clipboard

Flattens the underlying C structures of a concatenated JavaScript string

Results 4 flatstr issues
Sort by recently updated
recently updated
newest added

I have found with node 12.22.1 that flatstr's performance is not that different from node now and in some cases is running slower. Is it getting time to retire flatstr...

You could check the result by using `string->isFlat()` in a native C++ (not N-API) addon used specifically for testing. It's undocumented, but exposed publicly. This would make it way less...

Add some tests to show how much the performance improves/degrees applying multiple time `flatstr`. The result is not so obvious!