Comments (5)
Should be fixed now.
from json-fortran.
Hi all,
I am not sure why you used "sequence" attribute (I read your developments,
but I miss this specific issue; maybe "sequence" is necessary for C
interoprrability or other peculiar situations), anyhow I would like to
highligth that declaring sequence attribute for derived type components can
compromise the optimizations of the campiler that is prevented to modify
the memory "shape". In some circumstances, the compiler optimizer greatly
improves the memory handling if it is allowed to modify the derived type
components, but the sequence can prevent this.
This is just a reminder, in many case this is not relevant, but I was not
sure that you have evaluated this aspect and I would like to help you, this
project being beatiful!
See you soon.
Il giorno 03:07 gio 08/gen/2015 Jacob Williams [email protected]
ha scritto:
—
Reply to this email directly or view it on GitHub
#34 (comment).
from json-fortran.
The SEQUENCE was because I'm using it an argument in a DLL subroutine. See: https://software.intel.com/en-us/forums/topic/538073 . I'll do some speed tests to see if it is causing a significant performance penalty.
from json-fortran.
I think that if the memory alignment warnings issued by ifort have been addressed this shouldn't be a big issue.
from json-fortran.
I am not sure, but I think it is more complicated.
For example there are situations where the components of a derived type should be not aligned for memory optimization, thus the compiler use memory padding to optimize the derived type memory handling (for caching/prefetching and similar obscure nerd-details :-) ). Sequence prevent memory padding...
I think that in this case the use of sequence has not relevant consequences on performances, but if there is the time to check it, this is a plus. This is just a remainder due to my paranoiac nature.
See you soon.
from json-fortran.
Related Issues (20)
- How to read integer arrays with `null` elements? HOT 2
- null_to_integer_mode mode
- Available in Fedora 35/36 HOT 2
- Cross-platform? HOT 2
- On Definition of operator [] HOT 1
- How to get a derived-type table? HOT 2
- Make unicode support optional for homebrew HOT 1
- Rounding a real when printing HOT 1
- Incorrect mod locations when using FetchContent HOT 3
- Fails to build on PPC due to missing ieee_arithmetic in gfortran HOT 2
- Tests fail with nvfortran compiler HOT 10
- Many tests unable to find executable, several tests fail (PowerPC): what am I doing wrong here? HOT 12
- Check if keyword is valid HOT 1
- Add test to FPM file
- Unable to build json-fortran with nvfortran HOT 1
- libdir and includedir empty in json-fortran.pc HOT 2
- All tests fail with errors like "Could not find executable ./jf_test_45" HOT 2
- json parse failed HOT 1
- Can not find some variables in json file HOT 1
- Write out 2d array to JSON file HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from json-fortran.