LBg/rbSFML-dev — Issue #2: SFML::Time implementation
Author: Groogy
Created: 2012-01-22 04:46:39+00:00
State: open

Should time be implemented as I have in commit dae2ae6a9d960388ee76c80efafbcc7a7367f862 where it is just simply a wrapper around the sf::Time class. Though the problem here is that sf::Time is basically only several operations that can be applied to a sf::Int64.

Though I don't know what's most efficient, just simply a ruby class written in Ruby C API using ruby types and converting to the SFML C++ class when necessary(lazy evaluation) or doing it straight with the Wrapper class as it is implemented now which means no extra work though we do have an extra allocation.

Just wanting opinions.