aconstlink / motor

Software Framework for Audio/Visual/Interactive Real-Time Applications
MIT License
1 stars 0 forks source link

Memory purpose string needs to be char const * #5

Closed aconstlink closed 7 months ago

aconstlink commented 7 months ago

We can not work with string for the purpose because it uses memory itself. This interferes when using the memory allocator with string itself.

On the other hand, char const * is more efficient because all purpose strings are compile-time constant anyways.