Skip to content
This repository has been archived by the owner on Apr 10, 2024. It is now read-only.

[pandas 2.0] Re-factor of the DataType classes #55

Closed
wants to merge 1 commit into from

Conversation

joshuastorck
Copy link

@joshuastorck joshuastorck commented Oct 20, 2016

  • Changing PrimitiveType to NumericType
  • Removing the macro for declaring sub-types of NumericType and
    instead using template arguments
  • Addding a static SINGLETON member to the NumericType base class
    instead of the macros for methods for creating singletons for
    each numeric type
  • Removing NullType's inheritance of PrimitiveType
  • Removing intermediate base class between {Integer,Floating}ArrayImpl
    and PrimitiveType and just making a concrete template based
    class {Integer,Floating}Array
  • Changing FLOAT and DOUBLE to FLOAT32 and FLOAT64

* Changing PrimitiveType to NumericType
* Removing the macro for declaring sub-types of NumericType and
  instead using template arguments
* Addding a static SINGLETON member to the NumericType base class
  instead of the macros for methods for creating singletons for
  each numeric type
* Removing NullType's inheritance of PrimitiveType
* Removing intermediate base class between {Integer,Floating}ArrayImpl
  and PrimitiveType and just making a concrete template based
  class {Integer,Floating}Array
* Changing FLOAT and DOUBLE to FLOAT32 and FLOAT64
@wesm
Copy link
Owner

wesm commented Oct 20, 2016

Cool, this looks good -- thanks for making the Cython code compile again! I wasn't aware of the trailing return type syntax in C++11, so that's super helpful.

@wesm wesm changed the title Re-factor of the DataType classes [pandas 2.0] Re-factor of the DataType classes Oct 20, 2016
@wesm wesm closed this in bbc0e0c Oct 20, 2016
wesm pushed a commit that referenced this pull request Oct 20, 2016
* Changing PrimitiveType to NumericType  * Removing the macro for
declaring sub-types of NumericType and    instead using template
arguments  * Addding a static SINGLETON member to the NumericType base
class    instead of the macros for methods for creating singletons for
each numeric type  * Removing NullType's inheritance of PrimitiveType
* Removing intermediate base class between {Integer,Floating}ArrayImpl
and PrimitiveType and just making a concrete template based    class
{Integer,Floating}Array  * Changing FLOAT and DOUBLE to FLOAT32 and
FLOAT64

Author: Joshua Storck <[email protected]>

Closes #55 from joshuastorck/pandas-2.0 and squashes the following commits:

1614d44 [Joshua Storck] * Fixing native.p{xd,yx} so that it matches the latest C++ code * Changing PrimitiveType to NumericType * Removing the macro for declaring sub-types of NumericType and   instead using template arguments * Addding a static SINGLETON member to the NumericType base class   instead of the macros for methods for creating singletons for   each numeric type * Removing NullType's inheritance of PrimitiveType * Removing intermediate base class between {Integer,Floating}ArrayImpl   and PrimitiveType and just making a concrete template based   class {Integer,Floating}Array * Changing FLOAT and DOUBLE to FLOAT32 and FLOAT64
wesm pushed a commit that referenced this pull request Dec 12, 2016
* Changing PrimitiveType to NumericType  * Removing the macro for
declaring sub-types of NumericType and    instead using template
arguments  * Addding a static SINGLETON member to the NumericType base
class    instead of the macros for methods for creating singletons for
each numeric type  * Removing NullType's inheritance of PrimitiveType
* Removing intermediate base class between {Integer,Floating}ArrayImpl
and PrimitiveType and just making a concrete template based    class
{Integer,Floating}Array  * Changing FLOAT and DOUBLE to FLOAT32 and
FLOAT64

Author: Joshua Storck <[email protected]>

Closes #55 from joshuastorck/pandas-2.0 and squashes the following commits:

1614d44 [Joshua Storck] * Fixing native.p{xd,yx} so that it matches the latest C++ code * Changing PrimitiveType to NumericType * Removing the macro for declaring sub-types of NumericType and   instead using template arguments * Addding a static SINGLETON member to the NumericType base class   instead of the macros for methods for creating singletons for   each numeric type * Removing NullType's inheritance of PrimitiveType * Removing intermediate base class between {Integer,Floating}ArrayImpl   and PrimitiveType and just making a concrete template based   class {Integer,Floating}Array * Changing FLOAT and DOUBLE to FLOAT32 and FLOAT64
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants