|
Not reported, despite its being highly inappropriate for Lounge. there are several forums where such discussions of food that is not bacon are appropriate.
I wanna be a eunuchs developer! Pass me a bread knife!
|
|
|
|
|
how do you *not* have scurvy?
When I was growin' up, I was the smartest kid I knew. Maybe that was just because I didn't know that many kids. All I know is now I feel the opposite.
|
|
|
|
|
Bacon and coffee serve all your nutritionamentary needs.
|
|
|
|
|
My TMDb library uses wrapper classes to represent entities at the remote endpoint, so like there's one for a show, one for a movie, one for each show season and each show episode, one for each person (usually cast or crew), etc.
These wrapper entity classes are typically created and then thrown away. They are essentially stateless by themselves. Instead, they have their state backed by store somewhere else.
But because of this, it means object creation and destruction in this project are off the hook, even when used as it was designed.
I really hope it's feasible to do it this way. I'd never do this in C++ or even old school VB
When I was growin' up, I was the smartest kid I knew. Maybe that was just because I didn't know that many kids. All I know is now I feel the opposite.
|
|
|
|
|
honey the codewitch wrote: I really hope it's feasible to do it this way. I'd never do this in C++ or even old school VB The GC will probably work just fine. But the Windows 10 operating system is very lazy reclaiming the working set. All of your peers will cry when they look in task manager and see your app is consuming so much RAM.
Best Wishes,
-David Delaune
|
|
|
|
|
GC.Collect();
Don't actually do this...
|
|
|
|
|
...
if(!GC.TryStartNoGCRegion (reserveMem))
throw new Exception("Sander's computer is puny, like little girl.");
try
{
...
}
finally
{
GC.EndNoGCRegion();
}
When I was growin' up, I was the smartest kid I knew. Maybe that was just because I didn't know that many kids. All I know is now I feel the opposite.
|
|
|
|
|
honey the codewitch wrote: Sander's computer is puny, like little girl. It gave me some real big man headaches lately
|
|
|
|
|
reported as inappropriate for Lounge. there are several forums where such technical content is appropriate.
imho, by using the appropriate forums, you ensure valuable technical discussions have a chance at persisting in a way that adds value to CP in the long run ... instead of getting submerged in all of the other content on the Lounge.
«Where is the Life we have lost in living? Where is the wisdom we have lost in knowledge? Where is the knowledge we have lost in information?» T. S. Elliot
|
|
|
|
|
oooh, someone's feeling his oats.
When I was growin' up, I was the smartest kid I knew. Maybe that was just because I didn't know that many kids. All I know is now I feel the opposite.
|
|
|
|
|
funny, I was just thinking about making some oatmeal !
i've amended my reponse to read:
reported as inappropriate for Lounge. there are several forums where such technical content is appropriate.
imho, by using the appropriate forums, you ensure valuable technical discussions have a chance at persisting in a way that adds value to CP in the long run ... instead of getting submerged in all of the other content on the Lounge. Think about it: that can be interpreted as a statement about the value of your concerns, and code.
I've banged on this drum before, daring to even serenade such CP heroes as Clifton and JSOP.
does that make hay for you
«Where is the Life we have lost in living? Where is the wisdom we have lost in knowledge? Where is the knowledge we have lost in information?» T. S. Elliot
|
|
|
|
|
I wasn't so interested in preserving the technical end of it. The point was it made me feel nice.
Refactoring is a labor of love.
When I was growin' up, I was the smartest kid I knew. Maybe that was just because I didn't know that many kids. All I know is now I feel the opposite.
|
|
|
|
|
You should see what you can do with the new .NET Core features. It's become a lot less "allocatey" with the moves to .NET Core 2 and beyond. There are new APIs such as Span<t> and Memory<t> (and a whole lot more) that improve both the speed of working with .NET, and reduce the allocation/GC footprint. I would suggest reading up about these features and the other improvements in .NET Core (and .NET Standard). They are fascinating.
|
|
|
|
|
I've really wanted to use Spans and such more but they are only in Core so I'm holding out for .NET 5 which is supposed to unify everything (again )
When I was growin' up, I was the smartest kid I knew. Maybe that was just because I didn't know that many kids. All I know is now I feel the opposite.
|
|
|
|
|
Spans are in .NET Standard as well as .NET Core.
|
|
|
|
|
i didn't realize they were in standard but they're not in the dNF
When I was growin' up, I was the smartest kid I knew. Maybe that was just because I didn't know that many kids. All I know is now I feel the opposite.
|
|
|
|
|
Yeah, the architecture of the old framework means it can't be backported.
|
|
|
|
|
That's what I assumed. I got the impression the behavior of the CLI implementation was slightly different for each one. Otherwise they'd not need an external host app (dotnet.exe) i think.
When I was growin' up, I was the smartest kid I knew. Maybe that was just because I didn't know that many kids. All I know is now I feel the opposite.
|
|
|
|
|
Does your gravy resemble a cemetery plot?
Sent from my Amstrad PC 1640
Never throw anything away, Griff
Bad command or file name. Bad, bad command! Sit! Stay! Staaaay...
AntiTwitter: @DalekDave is now a follower!
|
|
|
|
|
Ew
I will think about that after having eaten my steak.
while (!(success = Try()));
|
|
|
|
|
Does the navy resemble a flooded church?
Freedom is the freedom to say that two plus two make four. If that is granted, all else follows.
-- 6079 Smith W.
|
|
|
|
|
Does the army live in a sleeve?
|
|
|
|
|
Digging deep, Griff... digging deep.
|
|
|
|
|
|
it always comes down to trial and error. make a thing, try a thing, go back and *remake* the thing because DHTML and CSS are funny in a sad kind of way - like an old married couple that hates each other but won't divorce.
is there a better way to do it? I mean other than schlepping it off onto someone else, which is my first choice.
is there some magic to web development that makes it not suck?
When I was growin' up, I was the smartest kid I knew. Maybe that was just because I didn't know that many kids. All I know is now I feel the opposite.
|
|
|
|