[tarantool-patches] Re: [PATCH 3/3] rope: make rope library be C template using macros

Konstantin Osipov kostja at tarantool.org
Tue May 8 23:22:02 MSK 2018


* Vladislav Shpilevoy <v.shpilevoy at tarantool.org> [18/04/28 08:50]:
> Rope library stores alloc, split and free functions by pointer,
> that is a huge slog at performance. There is no reason, why the
> rope library can not become a template.

I believe you still should keep some "slowpath" code in rope.c -
smaller binary footprint is usually faster.

I'm not sure though it'd be easy to extract.

In any case I'd wait with pushing this patch until we see the
rest.

-- 
Konstantin Osipov, Moscow, Russia, +7 903 626 22 32
http://tarantool.io - www.twitter.com/kostja_osipov




More information about the Tarantool-patches mailing list