Tech
Columnar Data Structure in Java
What if we need traditional object-oriented API and extra high performance for field-wise operations in one place?
I designed my CPS exactly having this in mind. The article is for describing the idea behind the library.
Imagine you have 10 million product objects, which have the following structure:
class Product {
String name ;
int quantity ;
int price ;
}
You need to calculate the grand total value by summing quantity * price for every prod...
Read the full discussion on Dev.to
This article was aggregated from Dev.to. Click to join the conversation.
View on Dev.to