pokiaka's Profile User Rating: -----

Reputation: 10 Tradesman
Group:
Contributors
Active Posts:
76 (0.06 per day)
Joined:
05-August 11
Profile Views:
8,104
Last Active:
User is offline Jan 16 2014 02:56 AM
Currently:
Offline

Previous Fields

Country:
Who Cares
OS Preference:
Windows
Favorite Browser:
Chrome
Favorite Processor:
Intel
Favorite Gaming Platform:
PC
Your Car:
Who Cares
Dream Kudos:
50
Icon   pokiaka has not set their status

Posts I've Made

  1. In Topic: Native optimization by hand - Legit?

    Posted 20 Apr 2013

    No, I don't want to rewrite a compiler.
    I'm talking about when sometimes the compiler generates instructions in a way that you can rewrite them so much better.
    The time can vary but all in all, if that function is being called frequently I wouldn't want even one extra instruction.

    The solution would be of course to write the assembly yourself (i.e. if it's a messy call, remove the C/C++ call and write it yourself in the inline-assembler).

    Hope I'm clearer now.
  2. In Topic: Why "Only parameterless constructors and initializers are supporte

    Posted 4 Feb 2013

    View Postsepp2k, on 04 February 2013 - 05:11 AM, said:

    The error message doesn't tell you that your classes have to have a parameterless constructor - it's telling you that you're only allowed to use parameterless constructors (or initializers) in a LINQ to Entities query. So new XElement(foo, bar) is not allowed inside a Linq2Entities query because it's calling a constructor that takes 2 parameters, not zero.

    When you add the ToList it works because now you're using LINQ to Objects instead of LINQ to Entities, and LINQ to Objects does not have such a restriction.


    Ah!
    Thank you very much.

My Information

Member Title:
D.I.C Head
Age:
Age Unknown
Birthday:
Birthday Unknown
Gender:

Contact Information

E-mail:
Private
Skype:
Skype  pokiaka

Friends

pokiaka hasn't added any friends yet.

Comments

pokiaka has no profile comments yet. Why not say hello?