lucene icon indicating copy to clipboard operation
lucene copied to clipboard

LUCENE-10125: Another idea of DirectWriter (v2)

Open uschindler opened this issue 3 years ago • 0 comments

Another variant of #327

It may be better from optimization standpoint, because it uses a hard typed MethodHandle casting the long to correct type. The MH can be passed as constant into the loop.

Backside: Methodhandle#invokeExact() throws f*king Throwable!

uschindler avatar Sep 29 '21 22:09 uschindler