I’m asking because it seems to take a long time opening a file but after
it
opens looping into the variable is REALLY fast, could someone explain me
or
tell me where can I find an explanaition on how this sort of things
work?
Usually the simplest way to learn how a gem works internally is to go
and read the source code. This should be available in the gem files, on
a github repository, or in the documentation.