Questions tagged [eastl]

Stands for Electronic Arts Standard Template Library.

12 questions
15
votes
1 answer

EASTL performance

Today I downloaded and created a sample project of the Electronic Arts STL implementation and the EA's vector is looks much slower for me than the standard. I just created 2 vectors and uploading them with 1 million of items: void…
CsOkemf
  • 175
  • 1
  • 1
  • 7
13
votes
2 answers

EASTL versus STL, how can there be such a performance difference in std::vector::operator[]

According to http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2007/n2271.html vector::operator[] is between 2% and 70% faster in EASTL than a "commonly used commercial version of STL". Unless the commercial version of STL uses range…
Viktor Sehr
  • 12,825
  • 5
  • 58
  • 90
3
votes
3 answers

Use #define macro in C++ to choose implementations from different namespaces

The multiplatform engine we're developing for our game uses the EASTL to replace the STL, because of memory, performance and portability reasons. The EASTL can be found here: http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2007/n2271.html Because…
v01pe
  • 1,096
  • 2
  • 11
  • 19
3
votes
1 answer

Why is there no (implicit) conversion from std::tuple& to std::tuple?

As the title states, is there a specific reason why there is no (implicit) conversion from std::tuple& to std::tuple? In contrast, the tuple implementation of EASTL provides this conversion. #include #include…
serkan.tuerker
  • 1,681
  • 10
  • 20
3
votes
1 answer

How, Where can i download original EASTL library?

I already know GitHub thing. But it isn't original EASTL. I also heard about gpl.ea.com. There are open source projects. I heard the EASTL included in that project. So I tried to find it in their projects but failed. If you know a little bit about…
2
votes
1 answer

How to track memory usage using EASTL?

The Electronic Arts EASTL library's east::allocator requires the user to implement a special new operator (as shown in this sample). This new operator has a const char* name, which is supposed to be used to log application-specific information about…
n00b101
  • 265
  • 1
  • 10
2
votes
1 answer

how to build eastl library

Recently I am trying to build eastl library in linux 3.10 x86_64 but failed . https://github.com/electronicarts/EASTL do has "Compiling sources" webpage here : https://github.com/electronicarts/EASTL/blob/master/CONTRIBUTING.md follow the…
barfatchen
  • 1,630
  • 2
  • 24
  • 48
1
vote
0 answers

Are there non-trivial differences between EASTL and libc++'s std::tuple?

We know that libc++ and libstdc++'s std::tuple implementations are very different - forwards vs backwards order of element storage: Why does libstdc++ store std::tuple elements in reverse order? However, EASTL's tuple class says, in a comment, that…
einpoklum
  • 118,144
  • 57
  • 340
  • 684
1
vote
1 answer

Is EASTL vector> contiguous

As per this answer: std::vector of std::vectors contiguity A vector of vectors is not contiguous. EASTL claims that their vector is contgiuous (see: https://github.com/electronicarts/EASTL/blob/master/include/EASTL/vector.h it). Does this contiguity…
Hisham Hijjawi
  • 1,803
  • 2
  • 17
  • 27
1
vote
1 answer

Custom Visualizer for EASTL VS2012 / 2013

I got EASTL from here - https://github.com/paulhodge/EASTL For debugging, I'm writing custom visualizer VS2012/2013. "eastl::vector" works fine but "eastl::map" doesn't. Here is my code {{size =…
edgafigaro
  • 11
  • 1
1
vote
2 answers

EASTL vector-design on size() method

I have a question on the implementation of vector in EASTL. The link is here. Namely, on the method size(). Here is what it looks like: template inline typename vector::size_type vector
KaiserJohaan
  • 9,028
  • 20
  • 112
  • 199
-1
votes
1 answer

std - including or creating my own definition of it causes C2953 error when compiling

I am trying to use the EASTL for a project I'm working on, it wouldn't compile and the only error I could find came from its "EASTL/initializer_list.h", I am working with the newest version of this file. The 2 errors that came were C2953 and another…
James
  • 83
  • 6