Ignore:
Timestamp:
Apr 25, 2025, 7:08:53 PM (8 months ago)
Author:
Andrew Beach <ajbeach@…>
Branches:
master
Children:
7d02d35, ecfa58be
Parents:
65bd3c2
Message:

Rewrote the iostream traits to have a single assertion each, a table containing function pointers. This is just an experiment right now. It seems that it does cause significant speed up of assertion resolution, but for some reason also seems to add a flat overhead that mostly eats up that saving.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • libcfa/src/fstream.hfa

    r65bd3c2 rae0c1c3  
    3838
    3939// Satisfies ostream
     40extern basic_ostream_data(ofstream) const & basic_ostream_table;
     41extern ostream_data(ofstream) const & ostream_table;
    4042
    4143// private
     
    106108
    107109// Satisfies istream
     110extern basic_istream_data(ifstream) const & basic_istream_table;
     111extern istream_data(ifstream) const & istream_table;
    108112
    109113// private
Note: See TracChangeset for help on using the changeset viewer.