xojo.core components

After reading Christian’s post (https://forum.xojo.com/20655-fast-from-xojo-core-memoryblock-to-memoryblock-and-back), is there any advantages to using components within xojo.core (other than just building a practice/habit of doing so) rather than the older ones such as a standard memoryblock or dictionary?

don’t know the technicalities, but I can offer one…
By using xojo.core you are preparing yourself (and your code) for the future of Xojo.

Offhand:

Xojo.Core.Dictionary has these advantages:

  • Iterator
  • Optional case-senstive comparisons
  • Cloning

Xojo.Core.MemoryBlock/MutableMemoryBlock also have a Clone method.

To clarify, it’s actually even better than that. The Xojo.Core.Dictionary class supports fully customizing key comparison.

MutableMemoryBlock has an append method which I use.